package com.ymx.darling.spring.mapper;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 扫描Mapper 作用于spring启动或配置类
 * @author 爱Java的小于
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(DarlingMapperImportBeanDefinitionRegister.class)
public @interface DarlingMapperScanner {
    String value();
}
